<? $this->headTitle('Delete category'); ?>
<? $this->placeholder('title')->set('Delete category'); ?>

<?php if ($this->category): ?>
<p>Are you sure you want to delete category <q><?php echo $this->escape($this->category->name); ?></q>?</p>
<form action="<?php echo $this->url(array('action'=>'delete')); ?>" method="post">
    <div>
        <input type="hidden" name="id" value="<?php echo $this->category->id; ?>" />
        <input type="submit" name="del" value="Yes" />
        <input type="submit" name="del" value="No" />
    </div>
</form>
<?php else: ?>
<p>Cannot find category.</p>
<? endif; ?>